#!/usr/bin/python
start = 1
while True:
    if start == 7:
        start = start + 1
        continue
    if start == 10:
        break
    print(start)
    start = start + 1